package com.md.api.service;

import com.md.api.entity.*;
import com.md.api.entity.util.OssPage;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author liujie
 * @ClassName UserSevice
 * @Date 2022/11/9 11:34
 **/
public interface UserSevice {
    HttpResult loginOut(HttpServletRequest request);

    HttpResult updateBaseInfo(HttpServletRequest request, UserInfo userInfo);

    HttpResult userLogin(HttpServletRequest request, UserInfo user);

    HttpResult pageOss(HttpServletRequest request, OssPage page);

    HttpResult registerFtp(HttpServletRequest request, UserFtp ftp);
    void resetFtpFile();
    HttpResult register(HttpServletRequest request, UserInfo userInfo);

    HttpResult getInfo(HttpServletRequest request);

    HttpResult deleteFtp(HttpServletRequest request, PictureInfo pictureInfo);

    HttpResult logOff(HttpServletRequest request);

}
